package day3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class ForTest2 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("请输入k：");
        int k = in.nextInt();
        for (int i = 0, j = k; i <= k; i++, j--) {
            System.out.println(i + " + " + j + " = " + k);
        }
    }
}
